I think) you mean 2-factor authentication, which is a built-in Joomla feature.
This uses the Google Authenticator app which generates the random codes every 30 seconds, or YubiKey which requires a hardware token (plugged into a USB drive) is the alternative method.
It doesn't have the code sent to SMS feature.